<?php
/**
 * Account.php
 * 跨境电商商城系统
 * =============================================
 * Copy right 2016-2026 大连熠泽科技网络有限公司
 * ---------------------------------------------
 * 官方网址: http://www.yizehuitong.com
 * =============================================
 * @author : yizehuitong
 * @date : 2019.10
 * @version : v2.0
 */

namespace app\admin\controller;

use data\service\Statistics;

/**
 * 账户控制器
 */
class Account extends BaseController
{
	/**
	 * 销售概况
	 */
	public function shopSalesAccount()
	{
		$statistics = new Statistics();
		$base_data = $statistics->getBaseData();
		$this->assign('base_data', $base_data);
		return view($this->style . "Account/shopSalesAccount");
	}
	
	/**
	 * 财务概况
	 */
	public function shopAccount()
	{
	    $statistics = new Statistics();
	    $base_data = $statistics->getFinanceData();
	    $this->assign('base_data', $base_data);
	    return view($this->style . "Account/shopAccount");
	}
	
}